package com.itbegin.model;

import java.util.Date;

public class Product {
	private int id;
	// 名称
	private String name;
	// 产品编号
	private String sn;
	// 品牌
	private String brand;
	// 分类编号
	private String categoryNo;
	// 数量
	private int qty;
	// 模特
	private String mobel;
	// 单价
	private float price;
	// 折扣
	private float discount;
	// 上市时间
	private Date marketTime;
	// 图片
	private String img;
	// 明细
	private String detail;
	// 是否新品
	private boolean newProduct;

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getSn() {
		return sn;
	}

	public String getBrand() {
		return brand;
	}

	public String getCategoryNo() {
		return categoryNo;
	}

	public int getQty() {
		return qty;
	}

	public String getMobel() {
		return mobel;
	}

	public float getPrice() {
		return price;
	}

	public float getDiscount() {
		return discount;
	}

	public Date getMarketTime() {
		return marketTime;
	}

	public String getImg() {
		return img;
	}

	public String getDetail() {
		return detail;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public void setCategoryNo(String categoryNo) {
		this.categoryNo = categoryNo;
	}

	public void setQty(int qty) {
		this.qty = qty;
	}

	public void setMobel(String mobel) {
		this.mobel = mobel;
	}

	public void setPrice(float price) {
		this.price = price;
	}

	public void setDiscount(float discount) {
		this.discount = discount;
	}

	public void setMarketTime(Date marketTime) {
		this.marketTime = marketTime;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public boolean isNewProduct() {
		return newProduct;
	}

	public void setNewProduct(boolean newProduct) {
		this.newProduct = newProduct;
	}

}
